package com.docker.drug.service;

import java.util.List;
import com.docker.drug.domain.DoctorDrugsOutIntermediate;

/**
 * 药品入库和药品中间Service接口
 * 
 * @author lin
 * @date 2025-04-12
 */
public interface IDoctorDrugsOutIntermediateService 
{
    //    根据药品编码查询
    public List<DoctorDrugsOutIntermediate> selectDrugCode(String drugCode);
    /**
     * 查询药品入库和药品中间
     * 
     * @param id 药品入库和药品中间主键
     * @return 药品入库和药品中间
     */
    public DoctorDrugsOutIntermediate selectDoctorDrugsOutIntermediateById(Long id);

    /**
     * 查询药品入库和药品中间列表
     * 
     * @param doctorDrugsOutIntermediate 药品入库和药品中间
     * @return 药品入库和药品中间集合
     */
    public List<DoctorDrugsOutIntermediate> selectDoctorDrugsOutIntermediateList(DoctorDrugsOutIntermediate doctorDrugsOutIntermediate);

    /**
     * 新增药品入库和药品中间
     * 
     * @param doctorDrugsOutIntermediate 药品入库和药品中间
     * @return 结果
     */
    public int insertDoctorDrugsOutIntermediate(DoctorDrugsOutIntermediate doctorDrugsOutIntermediate);

    /**
     * 修改药品入库和药品中间
     * 
     * @param doctorDrugsOutIntermediate 药品入库和药品中间
     * @return 结果
     */
    public int updateDoctorDrugsOutIntermediate(DoctorDrugsOutIntermediate doctorDrugsOutIntermediate);

    /**
     * 批量删除药品入库和药品中间
     * 
     * @param ids 需要删除的药品入库和药品中间主键集合
     * @return 结果
     */
    public int deleteDoctorDrugsOutIntermediateByIds(Long[] ids);

    /**
     * 删除药品入库和药品中间信息
     * 
     * @param id 药品入库和药品中间主键
     * @return 结果
     */
    public int deleteDoctorDrugsOutIntermediateById(Long id);
}
